prepare-root: make all mount operations silent
authorLuca BRUNO <luca.bruno@coreos.com>
Tue, 26 Oct 2021 10:12:27 +0000 (10:12 +0000)
committerLuca BRUNO <luca.bruno@coreos.com>
Tue, 26 Oct 2021 10:51:37 +0000 (10:51 +0000)
commit848fe542afd8e475a8126f3c5478a4c9b37ce1be
tree42c455971247b874ee9a6dccff898bd9547bddc1
parent9692437491e06c6445b65c632cdb60d03106d6c6
prepare-root: make all mount operations silent

This adds a `MS_SILENT` flag to all `mount(2)` calls, reducing the
amount of kernel logs produced on each boot.
Those messages do not contain actionable details, and in the "mount
plus read-only remount" case they can easily become highly redundant.
src/switchroot/ostree-prepare-root.c